#pragma once

#include "QvObject.h"
#include "QvMemoryStream.h"
#include "QvDataArray.h"

class QvToolkit_Export QvLzf : public QvObject
{
private:
    QvLzf(void);

public:
    virtual ~QvLzf(void);

    static QvMemoryStream* Zip(QvDataArray<QvByte>* srcData);
    static QvMemoryStream* UnZip(QvDataArray<QvByte>* srcData);

    static QvMemoryStream* Zip(const QvByte* srcData, QvUInt32 uLength);
    static QvMemoryStream* UnZip(const QvByte* srcData, QvUInt32 uLength);
};


